
<div class="users_main_dingdan_bg">
    <Div class="users_dingdanbg_left"></Div>
    <Div class="users_dingdanbg_center">
        <div style="width:70px;"></div>
        <div style="width:210px;">礼品卡</div>
        <div style="width:200px; padding-right:20px;">面值</div>
        <div style="width:130px;">余额</div>
        <div style="width:90px;">有效期</div>
        <div style="width:80px;text-align:center">选择使用</div>
    </Div>
    <Div class="users_dingdanbg_right"></Div>
</div>



 <div class="users_main_dingdantiao_main" id="flow_giftcard_list">            
    <?php $_from = $this->_var['giftcard_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item_0_34195700_1378371702');if (count($_from)):
    foreach ($_from AS $this->_var['item_0_34195700_1378371702']):
?>
        <div class="users_main_dingdantiao" style="padding:5px 0px;">
            <div class="user_ddtiao_name" style="width:70px;"> 
                <input type="checkbox" name="giftcardID[]" onclick="checkGiftcard()" value="<?php echo $this->_var['item_0_34195700_1378371702']['bonus_id']; ?>"  />
            </div>
            <div class="user_ddtiao_name" style="width:210px;"><?php echo $this->_var['item_0_34195700_1378371702']['type_name']; ?></div>
            <div class="user_ddtiao_name" style="width:220px;"><?php echo $this->_var['item_0_34195700_1378371702']['type_name']; ?></div>
            <div class="user_ddtiao_name" style="width:130px;"><?php echo $this->_var['item_0_34195700_1378371702']['bonus_money_formated']; ?></div>
            <div class="user_ddtiao_name" style="width:90px;"><?php echo $this->_var['item_0_34195700_1378371702']['expire_date']; ?></div>
            <div class="user_ddtiao_name use_status" style="width:80px;text-align:center">
                <?php if ($this->_var['item_0_34195700_1378371702']['selected'] == 1): ?>
                <span class="in_used">已使用</span>
                <?php else: ?>
                <span class="not_use">未使用</span>
                <?php endif; ?>
            </div>
        </div>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</div>


<div class="youhuianniukuang">
    <div class="juanka_btn" onclick="changeGiftcard()" style="margin-left:100px; margin-top:15px; display:inline;"></div>
</div>
<div class="users_main_dingdan" style="margin:20px 30px;width:830px" id="flow_giftcard_list">
</div>